﻿using System;
using System.Collections.Generic;
using System.Text;
using TomNet.SqlSugarCore.Entity;

namespace TomNet.App.Model.DB
{
	/// <summary>
	/// 用户电费信息。
	/// </summary>
    public class UserElectricity : IdentityEntityBase<int>
	{
		public UserElectricity()
		{

		}

		/// <summary>
		/// 用户Id
		/// </summary>
		public int UserId { get; set; }

		/// <summary>
		/// 充值金额/扣除金额
		/// </summary>
		public decimal Amount { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreatedTime { get; set; } = DateTime.Now;

		/// <summary>
		/// 备注
		/// </summary>
		public string Description { get; set; }

		/// <summary>
		/// 扣款的订单Id
		/// </summary>
		public int BusinessId { get; set; } = 0;
	}
}
